package constant.milk.aptprice.apt;

import java.util.HashMap;

import android.content.Context;
import constant.milk.aptprice.database.DbAdapter;
import constant.milk.aptprice.database.DbInsertQuery;

public class JejudoSetting
{
	private DbInsertQuery insertQuery;
	
	public JejudoSetting(Context context, DbAdapter db)
	{
		insertQuery = new DbInsertQuery(context, db);
	}
	
	public void Setting() throws Exception
	{
		setData("서귀포시", "157", "116");
		setData("제주시",	"224", "167");
	}
	
	private void setData(String name, String meib, String junse) throws Exception
	{
		HashMap<String, String> map = new HashMap<String, String>();
		
		map.put("title", "제주도");
		map.put("name", name);
		map.put("meib", meib);
		map.put("junse", junse);
		
		insertQuery.setAptData(map);
	}
}
